package com.mingshashan.building.easy.log;

import org.apache.logging.log4j.LogManager;

/**
 * LoggerFactory
 *
 * @author jasonxu
 */
public class LoggerFactory {

    public static Logger getLogger(Class clazz) {
        return new Logger(LogManager.getLogger(clazz));
    }

    public static Logger getLogger(String loggerName) {
        return new Logger(LogManager.getLogger(loggerName));
    }

}
